package com.example.demo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import dev.langchain4j.data.message.ChatMessageType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "文档详情")
public class documentDetailVO {

    @Schema(description = "文档Id")
    private Long id;

    @Schema(description = "文档ur;")
    private String url;

    @Schema(description = "文档标题")
    private String title;

    @Schema(description = "是否经过嵌入")
    private Integer isEmbedding;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
}
